package com.hh.bss.common.tree;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class BranchCompanyTreeNode extends TreeNode {	   
   
	public String getCompanyNodeType() {
		return companyNodeType;
	}
	public void setCompanyNodeType(String companyNodeType) {
		this.companyNodeType = companyNodeType;
	}
	private String companyId;	   
	
	public String getCompanyId() {
		return companyId;
	}
	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}
	private String companyNodeType="COMPANY";
	private String icon="/images/company.gif";
   private Map attributes=new HashMap();
    
	public Map getAttributes() {
		attributes.put("companyNodeType", companyNodeType);
		attributes.put("icon", icon);
		
		attributes.put("companyId", this.getCompanyId());
		attributes.put("parentId", this.getParentId());
		return attributes;
	}
	public void setAttributes(Map attributes) {
		this.attributes = attributes;
	}

	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}	
}
